package commands
{
	import flash.display.Shape;
	
	public class Rectangle extends Shape
	{
		public function Rectangle(color:uint,size:Number)
		{
			graphics.lineStyle();
			graphics.beginFill(color,1);
			graphics.drawRect(-size/2,-size/2,size,size);
			graphics.endFill();
		}
	}
}